package com.rykj.energy.database.pojo.vo;

import com.rykj.energy.common.dto.TaskCameraRelationDto;
import com.rykj.energy.database.pojo.TaskCameraRelation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

@Data
@ApiModel("算法任务基本信息")
public class TaskInfoVo {

    @ApiModelProperty(value = "任务ID" )
    private Integer id;

    @ApiModelProperty(value = "任务算法编码" )
    @NotBlank(message = "算法任务编号不能为空")
    private String  taskCode;

    @ApiModelProperty(value = "任务中文简称" )
    private String  taskName;

    @ApiModelProperty(value = "任务基本参数信息" )
    private String businessContent;

    @ApiModelProperty(value = "任务常规执行计划" )
    private String execPlan;

    @ApiModelProperty(value = "任务优先级" )
    private int level;

    @ApiModelProperty(value = "任务创建时间" )
    private Date createTime;

    @ApiModelProperty(value = "任务与摄像头关联信息")
    private List<TaskCameraRelationDto> taskCameras;
}
